package com.itheima.ydd.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.itheima.ydd.entity.SysUser;
import lombok.Data;

import java.util.List;

/**
 * @author WuShuai
 * @date 2022/5/23
 */
@Data
public class SysUserDto extends SysUser {


  /*  @JsonProperty("rolename")
    private String roleName;*/

    @JsonProperty("rolename")
    private List<String> roleName;
/*

    private List<String>roleName;*/

   /* @JsonProperty("role_id")
    @TableField(typeHandler = JacksonTypeHandler.class)//将list转成json
    private List<String> roleId;*/


}
